//package com.kws.merchant.controller;
//
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
//import com.kws.common.core.domain.R;
//import com.kws.merchant.domain.po.AttentionPo;
//import com.kws.merchant.domain.vo.AttentionVo;
//import com.kws.merchant.domain.vo.GoodsCollectVo;
//import com.kws.merchant.service.AttentionService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//
///**
// * @author : zhangbenting
// * @date : 2024/11/2 9:47
// * @Version: 1.0
// */
//@RestController
//@Api(value = "用户服务-关注信息管理", tags = "用户服务-关注信息管理")
//@RequestMapping("attentionManage")
//public class AttentionController {
//
//    @Autowired
//    private AttentionService attentionService;
//
//
//    @PostMapping("/getAttentionList")
//    @ApiOperation("获取用户店铺关注信息列表")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "attentionPo.pageSize",
//            "attentionPo.totalPage"
//    })
//    public R<Page<AttentionVo>> getAttentionList(@RequestBody AttentionPo attentionPo) {
//        return R.ok(attentionService.getAttentionList(attentionPo));
//    }
//
//    @PostMapping("/getCollectList")
//    @ApiOperation("获取用户商品或服务关注信息列表")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "attentionPo.pageSize",
//            "attentionPo.totalPage"
//    })
//    public R<Page<GoodsCollectVo>> getCollectList(@RequestBody AttentionPo attentionPo) {
//        return R.ok(attentionService.getCollectList(attentionPo));
//    }
//
//    @PostMapping("/attentionShopCartGoods")
//    @ApiOperation("添加关注信息")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "attentionPo.attentionTypeIds",
//            "attentionPo.type"
//    })
//    public R<Boolean> attentionShopCartGoods(@RequestBody AttentionPo attentionPo) {
//        return R.ok(attentionService.attentionShopCartGoods(attentionPo));
//    }
//
//    @PostMapping("/cancelAttentionShopCartGoods")
//    @ApiOperation("取消关注信息")
//    @ApiOperationSupport(order = 2, includeParameters = {
//            "attentionPo.ids",
//    })
//    public R<Boolean> cancelAttentionShopCartGoods(@RequestBody AttentionPo attentionPo) {
//        return R.ok(attentionService.removeBatchByIds(attentionPo.getIds()));
//    }
//}
